package store.lunangangster.bpmn.model;

public class ResourceRole extends BaseElement {

  protected String resourceRef;

  // 该属性被设置时，其余属性无效
  protected String resourceAssignmentExpression;

  public String getResourceRef() {
    return resourceRef;
  }

  public void setResourceRef(String resourceRef) {
    this.resourceRef = resourceRef;
  }

  public String getResourceAssignmentExpression() {
    return resourceAssignmentExpression;
  }

  public void setResourceAssignmentExpression(String resourceAssignmentExpression) {
    this.resourceAssignmentExpression = resourceAssignmentExpression;
  }

  @Override
  public String getModelType() {
    return "RESOURCE_ROLE";
  }
}
